
package com.shop.cereshop.app.service.nearby;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.shop.cereshop.commons.domain.common.Page;
import com.shop.cereshop.commons.domain.nearby.BuyerNearbyImage;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 买家附近的人图片库（仅图片，无相册分类）
 * </p>
 *
 * @author wang.yao
 * @date 2025-09-25
 */
public interface BuyerNearbyImageService {
    Long save(BuyerNearbyImage entity);

    boolean saveBatch(Long buyerUserId, List<BuyerNearbyImage> entities);

    Integer update(BuyerNearbyImage entity, Long operatorUserId);

    Integer delete(Long id, Long operatorUserId);

    BuyerNearbyImage getById(Long id);

    Page<BuyerNearbyImage> listByUser(Long buyerUserId, Long operatorUserId, Integer page, Integer pageSize);

    List<BuyerNearbyImage> listByUserIds(List<String> allIds);

}
